package com.innovation.chengzhangriji.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.innovation.chengzhangriji.R;
import com.innovation.chengzhangriji.ui.widget.CuteToolbar;

public class AccountSafeActivity extends BaseActivity implements CuteToolbar.OnClickCuteToolbarListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_account_setting);
        // 初始化视图
        setupLayout();
    }

    // 修改密码的页面
    public void startUpdatePwdActivity(View v) {
        startActivity(new Intent(this, PasswordActivity.class));
    }

    // 初始化视图
    private void setupLayout() {
        CuteToolbar cuteToolbar = (CuteToolbar) findViewById(R.id.toolbar);
        cuteToolbar.setOnClickCuteToolbarListener(this);
    }

    @Override
    public void onClickLeft() {
        finish();
    }

    @Override
    public void onClickRight() {

    }
}
